/*
 * author      : 吴中勤 
 * date        : 2019/3/23
 * description : TODO
 */

package org.wzq.pool;

import java.util.concurrent.ThreadFactory;

public class MyThreadFactory implements ThreadFactory {
    @Override
    public Thread newThread(Runnable r) {
        System.out.println("create new thread");
        Thread t = new Thread(r);
        return t;
    }
}
